Mollie\WooCommerce\Payment\MollieOrderService B

Total Complexity 86
Dependencies 8
Dependents 4
Total lines 830
Lines of code 516
Logical lines of code 231
Comment lines 173
Methods 24
Properties 6

Methods 24

Method Rating Maintainability Complexity Lines of code
processChargebacks()
B
29
17 155
onWebhookAction()
B
33 21 91
updateOrderStatus()
A
54 8 21
orderNeedsPayment()
S
52 6 26
processRefunds()
S
45 4 46
findRefundIdsByLinks()
S
57 3 16
notifyProcessedRefunds()
S
53 2 27
getProcessedRefundIds()
S
59 2 15
getPaymentMethodTitle()
S
64 3 10
updateStateRefund()
S
59 1 17
setBillingAddressAfterPayment()
S
58 1 16
findRefundIds()
S
71 2 6
calculateRefundByLine()
S
67 2 8
paymentTestModeNote()
S
71 2 5
isPartialRefund()
S
69 2 6
processUpdateStateRefund()
S
66 2 10
renderNote()
S
61 1 14
__construct()
S
69 1 7
setGateway()
S
81 1 3
findRefundIdsByLine()
S
74 1 5
hasLineRefund()
S
80 1 3
isOrderPaidByOtherGateway()
S
79 1 3
isOrderPaidAndProcessed()
S
79 1 3
isOrderButtonPayment()
S
79 1 3